package com.glink.manage.vo.constructionwork;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate5DeSerializer;
import com.glink.common.serializer.JsonDate5Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-01-13
*/
@ApiModel(value="ConstructionWorkAccessMonadPageVO对象", description="施工工程准入审批单-分页结果")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConstructionWorkAccessMonadPageVO implements Serializable {

    private static final long serialVersionUID = -1995574739109980948L;

    @ApiModelProperty(value = "主键ID")
    private String objId;

    @ApiModelProperty(value = "审批单号")
    private Integer approvalNumber;

    @ApiModelProperty(value = "审批发起时间")
    @JsonSerialize(using = JsonDate5Serializer.class)
    @JsonDeserialize(using = JsonDate5DeSerializer.class)
    private Date createTime;
    
    @ApiModelProperty(value = "发起人")
    private String createUserName;

    @ApiModelProperty(value = "发起单位")
    private String createUserOrgName;
    
    @ApiModelProperty(value = "审批单类型，code:ApprovalFormStatus（人员准入、车辆准入）")
    private String type;

    @ApiModelProperty(value = "关联ID")
    private String associationObjId;

    @ApiModelProperty(value = "准入状态")
    private String accessStatus;

    @ApiModelProperty(value = "准入工程名称")
    private String constructionWorkName;

    @ApiModelProperty(value = "意见")
    private String opinion;
}
